RimuHosting's REST-ful Resources Reference

Path: / r / orders / order-{order-oid}-{domain} / cancelled

Cancel a server (dedicated or VPS).  No un-cancel (except by contacting RimuHosting support) just yet.  Does not shutdown the server.  Rather it sets the cancel date at the end of the current billing period.  Note that there is no corresponding 'DELETE' method to un-cancel a server.  For now.

Path parameters:
order-oid ([0-9]+) - The id of the order and a domain name.  The domain name is not used in the lookup (we rely solely on the order oid) but the name makes the uri more user-friendly.  The order oid is immuatable.  It won't change.  Even if you rename the server.  So it makes a good id.
domain ([^;/]*) - This parameter is ignored.  But having it makes the urls a little more recognizable.  Typically the VPS domain name is inserted here.

Resource Methods
Method Summary
NameDescription
PUT /r/orders/order-{order-oid}-{domain}/cancelledCancel a server (dedicated or VPS).  No un-cancel (except by contacting RimuHosting support) just yet.  Does not shutdown the server.  Rather it sets the cancel date at the end of the current billing period.  Note that there is no corresponding 'DELETE' method to un-cancel a server.  For now.

Method Detail

PUT /r/orders/order-{order-oid}-{domain}/cancelled

Cancel a server (dedicated or VPS).  No un-cancel (except by contacting RimuHosting support) just yet.  Does not shutdown the server.  Rather it sets the cancel date at the end of the current billing period.  Note that there is no corresponding 'DELETE' method to un-cancel a server.  For now.

HTTP Example:
PUT /r/orders/order-{order-oid}-{domain}/cancelled
API Example:

JAXRSOrder.setCancelled({'order-oid': /* order_oid The id of the order and a domain name.  The domain name is not used in the lookup (we rely solely on the order oid) but the name makes the uri more user-friendly.  The order oid is immuatable.  It won't change.  Even if you rename the server.  So it makes a good id. */,
  'domain': /* domain This parameter is ignored.  But having it makes the urls a little more recognizable.  Typically the VPS domain name is inserted here. */});

Output:
PutCancelledResponse